package com.example.demo.common;

import cn.hutool.http.HttpUtil;
import com.amazonaws.services.dynamodbv2.xspec.S;
import com.example.demo.common.entity.Ceshi01;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

public class Test01 {
    public static void main(String[] args) {

        BigDecimal taxRate = new BigDecimal("0.06");
        System.out.println(new BigDecimal(6980).multiply(taxRate).divide(new BigDecimal(1).add(taxRate), 2, BigDecimal.ROUND_HALF_UP));

        //Map<String, Object> map = new HashMap<>();
        //map.put("companyId", 1290694);
        //String str = HttpUtil.post("https://suhuabeta.51pla.com/api/v1/crm_order/getAwsCustomerServiceTime", map);
        //System.out.println(str);


        Ceshi01 one = new Ceshi01(1, 2, 3);
        one.display();
        Ceshi01 two = new Ceshi01(4, 5, 6);
        one.display();
        two.display();

        //TiXing.display();//出错
        Ceshi01.change(101);
        one.display();
        Ceshi01.change(102);
        two.display();

        Ceshi01 s = new Ceshi01();
    }
}
